package com.lesso.lpq.sunflower.domain.repository;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.lpq.sunflower.model.Device;
import com.lesso.lpq.sunflower.pojo.dto.DeviceQueryDTO;
import com.lesso.lpq.sunflower.pojo.vo.DeviceVO;

/**
 * @ClassName : DeviceRepository
 * @Description :
 * @Author : 罗培棋
 * @Date: 2025-07-05 09:59
 */
public interface DeviceRepository {
    Long save(Device device);

    Page<DeviceVO> getPageList(DeviceQueryDTO dto);

    Page<DeviceVO> getCustomPageList(DeviceQueryDTO dto);

    void removeById(Long id);

    DeviceVO getByDeviceCode(String deviceCode);
}
